<div ng-controller="GzhsccatCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="">{{'公众号'| translate}}</a></li>
        <li class="active">
            类目管理
            <a href="#/gzhsccat/add" id="addNew" class="sui-btn btn-primary">+{{'add_new' | translate}}</a>
        </li>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'类型名称'|translate}}</th>
                <th>{{'创建时间'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="(ke,list) in gzhsc_cat_list">
                <td>{{ke+1}}</td>
                <td>{{list.name}}</td>
                <td>{{list.created_at}}</td>
                <td>
                    <a href="#/gzhsccat/add?gzhsc_cat_id={{list.gzhsc_cat_id}}" class="sui-btn btn-primary">{{'编辑'|translate}}</a>
                    <btuuon ng-click="operation('del','删除吗？',list.gzhsc_cat_id)"  class="sui-btn btn-danger">{{'delete'|translate}}</btuuon>
                </td>
            </tr>
        </tbody>
    </table>
    <div style="display:none" item-dialog chosed-item="$parent.chosedItem"></div>
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getlist(pageNo)"></pager>
</div>
